/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.trandio.dao;

import java.sql.SQLException;
import java.util.List;
import javax.naming.NamingException;
import org.trandio.model.SedeVO;


/**
 *
 * @author root
 */
public interface SedeInterface {    
    
      public List<SedeVO> obtenerSede() throws NamingException, SQLException;   
      public List<SedeVO> consultarSede(String codigo,String descripcion, int firstRow, int rowsPerPage, String sortField, boolean sortAscending) throws SQLException, NamingException;
      public int count() throws SQLException, NamingException;
      public SedeVO getSede(int id) throws SQLException, NamingException;      
      public int guardarSede(SedeVO sedeVO) throws SQLException, NamingException;
      public void guardarSedeEdit(SedeVO especialidadVO) throws SQLException, NamingException;
      
}